//
//  NSString+Components.h
//  MindBox
//
//  Created by MS on 16-1-14.
//  Copyright (c) 2016年 Lemon. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Components)

/** 提取多段连接
 *  nsstring 待分割提取的字符串
 *
 *  componentStr 末尾分割字符     exmple: @"</"http://12345a"/></"http://frgwfgeg"/></"http://sfdsgg"/>" -->@{@"http://12345a",@"http://frgwfgeg",@"http://sfdsgg"}
 
    starSubStr 提取字符串的开头     componentStr = @"/"/>"   starSubStr=@"http"
 */
+(NSMutableArray *)stringWithStr:(NSString *)nsstring ComponentStr:(NSString *)componentStr startSubStr:(NSString *)starSubStr;

+(NSMutableArray *)stringWithStr:(NSString *)nsstring ComponentStr:(NSString *)componentStr endSubStr:(NSString *)endSubStr;

+(NSMutableArray *)stringWithStr:(NSString *)nsstring ComponentStr:(NSString *)componentStr startSubStr:(NSString *)starSubStr endSubStr:(NSString *)endSubStr;

@end
